#ifndef _STRAWGUI_TOUCH_ZONE_RECT_INTANCE_H_
#define _STRAWGUI_TOUCH_ZONE_RECT_INTANCE_H_

#include "sComponentInstance.h"
#include "sConfig.h"
#include "sComponentRectInstance.h"

namespace sgui
{
namespace res
{
	class sComponentRectTouchZone;
};
namespace inst
{
	class sComponentRectTouchZone : public sComponentRectInstance
	{
	public:
		sComponentRectTouchZone(const res::sComponentRectTouchZone& componentRect, sComponentInstance& instance, s32 id);
		~sComponentRectTouchZone();

        void OnHoverGet();
        void OnHoverRelease();

		void draw(engine::sDrawStack& drawStack) const;
		void update();		
		bool OnEvent(const obs::sEvent& event);
	};

};
};

#endif